//
//  UIView+Frame.h
//
//  Created by yanli on 16/5/28.
//  Copyright © 2016年 yanli. All rights reserved.
//

#import <UIKit/UIKit.h>
//分类，为了直接点出来赋值，不用先获取rect在设置在赋值回去。
@interface UIView (Frame)
@property(nonatomic,assign)CGFloat x;
@property(nonatomic,assign)CGFloat y;
@property(nonatomic,assign)CGFloat width;
@property(nonatomic,assign)CGFloat height;


@property(nonatomic,assign)CGFloat centerX;
@property(nonatomic,assign)CGFloat centerY;

@property(nonatomic,assign)CGSize size;

@end
